/*
package org.linlinjava.litemall.admin.web.order_manage;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.ibatis.annotations.Param;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.linlinjava.litemall.admin.service.order_manage.AgedMallOrderApiService;
import org.linlinjava.litemall.admin.vo.order_manage.*;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

*/
/**
 * @author wj
 * @date 2021/5/27 18:38
 *//*

@RestController
@RequestMapping("/agedMall/order")
public class AgedMallOrderController {
    private final Log logger = LogFactory.getLog(AgedMallOrderController.class);
    @Resource
    private AgedMallOrderApiService agedMallOrderApiService;


    */
/**
     * @api {get} /agedMall/order/list 订单列表
     * @apiParam {int} pageNum 当前页码
     * @apiParam {int} pageSize 每页条数
     * @apiParam {date} startTime 开始时间(非必填)
     * @apiParam {date} endTime 结束时间(非必填)
     * @apiParam {int} orderStatus 订单状态(非必填)
     * @apiParam {int} storeId 门店id(非必填)
     * @apiParam {string} phone 手机号码(非必填)
     * @apiParam {int} isAfterSale 是否是售后列表  0-是  1-不是
     * @apiGroup 订单管理
     * @apiVersion 0.1.0
     * @apiDescription 获取订单列表
     * @apiSuccess {int} errno 请求状态码，0表示成功,其它参考状态码文档
     * @apiSuccess {String} errmsg 结果消息说明
     * @apiSuccess {Object} data 请求响应的数据
     * @apiSuccessExample {json} Success-Response:
     * {
     *     "errno": 0,
     *     "data": {
     *         "data": [
     *             {
     *                 "id": 1,
     *                 "userId": 1,
     *                 "orderSn": "1",
     *                 "orderStatus": 103,
     *                 "aftersaleStatus": 0,
     *                 "consignee": "1",
     *                 "mobile": "1",
     *                 "address": "1",
     *                 "message": "1",
     *                 "goodsPrice": 1.00,
     *                 "freightPrice": 1.00,
     *                 "couponPrice": 1.00,
     *                 "integralPrice": 1.00,
     *                 "grouponPrice": 1.00,
     *                 "orderPrice": 1.00,
     *                 "actualPrice": 1.00,
     *                 "payId": "1",
     *                 "payTime": "2021-05-28 11:29:11",
     *                 "shipSn": "1",
     *                 "shipChannel": "1",
     *                 "shipTime": "2021-05-28 11:29:17",
     *                 "refundAmount": 1.00,
     *                 "refundType": "1",
     *                 "refundContent": "1",
     *                 "refundTime": "2021-05-28 11:29:39",
     *                 "confirmTime": "2021-05-28 11:29:41",
     *                 "comments": 0,
     *                 "endTime": "2021-05-31 10:20:09",
     *                 "addTime": "2021-05-28 11:29:27",
     *                 "payType": "1",
     *                 "storeId": 1,
     *                 "storeName": "互邦老宝贝",
     *                 "goodsList": [
     *                     {
     *                         "id": 1,
     *                         "orderId": 1,
     *                         "goodsId": 1006007,
     *                         "goodsName": "测试1",
     *                         "goodsSn": "",
     *                         "productId": 0,
     *                         "number": 0,
     *                         "price": 0.00,
     *                         "picUrl": "12",
     *                         "comment": 0,
     *                         "deleted": false,
     *                         "storeId": 1,
     *                         "orderGoodsStat": 202,
     *                         "shipDictName": "门店自送",
     *                         "shipStatus": 301,
     *                         "goodsType": "sale"
     *                     },
     *                     {
     *                         "id": 3,
     *                         "orderId": 1,
     *                         "goodsId": 1006010,
     *                         "goodsName": "测试3",
     *                         "goodsSn": "0",
     *                         "productId": 0,
     *                         "number": 0,
     *                         "price": 0.00,
     *                         "picUrl": "12",
     *                         "comment": 0,
     *                         "deleted": false,
     *                         "storeId": 1,
     *                         "orderGoodsStat": 103,
     *                         "goodsType": "sale"
     *                     }
     *                 ]
     *             },
     *             {
     *                 "id": 1,
     *                 "userId": 1,
     *                 "orderSn": "1",
     *                 "orderStatus": 103,
     *                 "aftersaleStatus": 0,
     *                 "consignee": "1",
     *                 "mobile": "1",
     *                 "address": "1",
     *                 "message": "1",
     *                 "goodsPrice": 1.00,
     *                 "freightPrice": 1.00,
     *                 "couponPrice": 1.00,
     *                 "integralPrice": 1.00,
     *                 "grouponPrice": 1.00,
     *                 "orderPrice": 1.00,
     *                 "actualPrice": 1.00,
     *                 "payId": "1",
     *                 "payTime": "2021-05-28 11:29:11",
     *                 "shipSn": "1",
     *                 "shipChannel": "1",
     *                 "shipTime": "2021-05-28 11:29:17",
     *                 "refundAmount": 1.00,
     *                 "refundType": "1",
     *                 "refundContent": "1",
     *                 "refundTime": "2021-05-28 11:29:39",
     *                 "confirmTime": "2021-05-28 11:29:41",
     *                 "comments": 0,
     *                 "endTime": "2021-05-31 10:20:09",
     *                 "addTime": "2021-05-28 11:29:27",
     *                 "payType": "1",
     *                 "storeId": 2,
     *                 "storeName": "测试店铺222",
     *                 "goodsList": [
     *                     {
     *                         "id": 2,
     *                         "orderId": 1,
     *                         "goodsId": 1006002,
     *                         "goodsName": "测试2",
     *                         "goodsSn": "",
     *                         "productId": 0,
     *                         "number": 0,
     *                         "price": 0.00,
     *                         "picUrl": "12",
     *                         "comment": 0,
     *                         "deleted": false,
     *                         "storeId": 2,
     *                         "orderGoodsStat": 103,
     *                         "goodsType": "sale"
     *                     }
     *                 ]
     *             }
     *         ],
     *         "total": 2
     *     },
     *     "errmsg": "成功"
     * }
     *//*

    @RequiresPermissions("agedMall:order:list")
    @GetMapping("/list")
    public Object getOrderList(@Validated OrderSelectVo orderSelectVo) {

        return agedMallOrderApiService.list(orderSelectVo);
    }


    */
/**
     * @api {get} /agedMall/order/orderDetail 订单详情
     * @apiParam {int} id 当前订单表id
     * @apiGroup 订单管理
     * @apiVersion 0.1.0
     * @apiDescription 获取订单详情
     * @apiSuccess {int} errno 请求状态码，0表示成功,其它参考状态码文档
     * @apiSuccess {String} errmsg 结果消息说明
     * @apiSuccess {Object} data 请求响应的数据
     * @apiSuccessExample {json} Success-Response:
     * {
     *     "errno": 0,
     *     "data": {
     *         "id": 1,
     *         "userId": 1,
     *         "orderSn": "1",
     *         "orderStatus": 103,
     *         "aftersaleStatus": 0,
     *         "consignee": "1",
     *         "mobile": "1",
     *         "address": "1",
     *         "message": "1",
     *         "goodsPrice": 1.00,
     *         "freightPrice": 1.00,
     *         "couponPrice": 1.00,
     *         "integralPrice": 1.00,
     *         "grouponPrice": 1.00,
     *         "orderPrice": 1.00,
     *         "actualPrice": 1.00,
     *         "payId": "1",
     *         "payTime": "2021-05-28 11:29:11",
     *         "shipSn": "1",
     *         "shipChannel": "1",
     *         "shipTime": "2021-05-28 11:29:17",
     *         "refundAmount": 50.00,
     *         "refundType": "1",
     *         "refundContent": "1",
     *         "refundTime": "2021-05-28 11:29:39",
     *         "confirmTime": "2021-05-28 11:29:41",
     *         "comments": 0,
     *         "endTime": "2021-05-31 10:20:09",
     *         "addTime": "2021-05-28 11:29:27",
     *         "payType": "1",
     *         "orderLogisticsMessages": [
     *             {
     *                 "storeId": 1,
     *                 "storeName": "互邦老宝贝",
     *                 "shipDictName": "门店自送",
     *                 "address": "江苏省苏州市阿斯蒂芬阿斯顿发斯蒂芬"
     *             },
     *             {
     *                 "storeId": 2,
     *                 "storeName": "测试店铺222",
     *                 "address": "1111"
     *             },
     *             {
     *                 "storeId": 1,
     *                 "storeName": "互邦老宝贝",
     *                 "address": "江苏省苏州市阿斯蒂芬阿斯顿发斯蒂芬"
     *             }
     *         ],
     *         "goodsList": [
     *             {
     *                 "id": 1,
     *                 "orderId": 1,
     *                 "goodsId": 1006007,
     *                 "goodsName": "测试1",
     *                 "goodsSn": "",
     *                 "productId": 0,
     *                 "number": 0,
     *                 "price": 0.00,
     *                 "picUrl": "12",
     *                 "comment": 0,
     *                 "deleted": false,
     *                 "storeId": 1,
     *                 "orderGoodsStat": 208,
     *                 "shipDictName": "门店自送",
     *                 "shipStatus": 408,
     *                 "goodsType": "sale"
     *             },
     *             {
     *                 "id": 2,
     *                 "orderId": 1,
     *                 "goodsId": 1006002,
     *                 "goodsName": "测试2",
     *                 "goodsSn": "",
     *                 "productId": 0,
     *                 "number": 0,
     *                 "price": 0.00,
     *                 "picUrl": "12",
     *                 "comment": 0,
     *                 "deleted": false,
     *                 "storeId": 2,
     *                 "orderGoodsStat": 103,
     *                 "goodsType": "sale"
     *             },
     *             {
     *                 "id": 3,
     *                 "orderId": 1,
     *                 "goodsId": 1006010,
     *                 "goodsName": "测试3",
     *                 "goodsSn": "0",
     *                 "productId": 0,
     *                 "number": 0,
     *                 "price": 0.00,
     *                 "picUrl": "12",
     *                 "comment": 0,
     *                 "deleted": false,
     *                 "storeId": 1,
     *                 "orderGoodsStat": 103,
     *                 "goodsType": "sale"
     *             }
     *         ],
     *         "packageMap": {
     *             "0": {
     *                 "goodsBackVos": [
     *                     {
     *                         "id": 1,
     *                         "orderId": 1,
     *                         "goodsId": 1006007,
     *                         "goodsName": "测试1",
     *                         "goodsSn": "",
     *                         "productId": 0,
     *                         "number": 0,
     *                         "price": 0.00,
     *                         "picUrl": "12",
     *                         "comment": 0,
     *                         "deleted": false,
     *                         "storeId": 1,
     *                         "orderGoodsStat": 208,
     *                         "shipDictName": "门店自送",
     *                         "shipStatus": 408,
     *                         "goodsType": "sale"
     *                     }
     *                 ],
     *                 "shipDictName": "门店自送",
     *                 "packageType": 1,
     *                 "shipTime": "2021-05-31 16:06:17",
     *                 "shipStatus": 301
     *             },
     *             "1": {
     *                 "goodsBackVos": [
     *                     {
     *                         "id": 1,
     *                         "orderId": 1,
     *                         "goodsId": 1006007,
     *                         "goodsName": "测试1",
     *                         "goodsSn": "",
     *                         "productId": 0,
     *                         "number": 0,
     *                         "price": 0.00,
     *                         "picUrl": "12",
     *                         "comment": 0,
     *                         "deleted": false,
     *                         "storeId": 1,
     *                         "orderGoodsStat": 208,
     *                         "shipDictName": "门店自送",
     *                         "shipStatus": 408,
     *                         "goodsType": "sale"
     *                     }
     *                 ],
     *                 "shipDictName": "门店自送",
     *                 "packageType": 2,
     *                 "shipTime": "2021-06-03 10:55:10",
     *                 "shipStatus": 408
     *             }
     *         }
     *     },
     *     "errmsg": "成功"
     * }
     *//*

    @RequiresPermissions("agedMall:order:orderDetail")
    @GetMapping("/orderDetail")
    public Object getOrderDetail(@Param("id") Integer id) {
        return agedMallOrderApiService.getOrderDetail(id);
    }


    */
/**
     * @api {post} /agedMall/order/deliverGoods 订单发货
     * @apiParam {string} orderCode 大订单号 编号
     * @apiParam {string} subOrderCode 子订单号 编号
     * @apiParam {string} orderGoodsIds 订单商品id不能为空 逗号分隔 从这开始到配送员id为一个对象，如有多个，传list
     * @apiParam {string} goodsIds 商品id不能为空 逗号分隔
     * @apiParam {int} packageType 包裹类型
     * @apiParam {string} shipDictName 配送类型
     * @apiParam {string} shipSn 物流单号 (非必填)
     * @apiParam {string} shipChannel 发货快递公司 (非必填)
     * @apiParam {int} deliveryManId 配送员id (非必填)
     * @apiGroup 订单管理
     * @apiVersion 0.1.0
     * @apiDescription 订单发货
     * @apiSuccess {int} errno 请求状态码，0表示成功,其它参考状态码文档
     * @apiSuccess {String} errmsg 结果消息说明
     * @apiSuccess {Object} data 请求响应的数据
     * @apiSuccessExample {json} Success-Response:
     * {
     *     "errno": 0,
     *     "errmsg": "成功"
     * }
     *//*

    @RequiresPermissions("agedMall:order:deliverGoods")
    @PostMapping("/deliverGoods")
    public Object deliverGoods(@RequestBody @Validated DeliverGoodsVo deliverGoodsVo) {
        return agedMallOrderApiService.deliverGoods(deliverGoodsVo);
    }


    */
/**
     * @api {post} /agedMall/order/returnGoods 订单退货
     * @apiParam {string} orderSn 订单编号
     * @apiParam {int} returnType 退款类型 1仅退款，2退货退款，3换货
     * @apiParam {int[]} orderGoodsId 订单商品表id
     * @apiParam {number} refundAmount 退款金额
     * @apiParam {string} reason 退款理由 (非必填)
     * @apiParam {int} getGoodsStyle 退货方式 1门店2物流
     * @apiParam {int} deliveryManId 配送员id (非必填)
     * @apiParam {string} logisticsInfo 物流信息 (非必填)
     * @apiGroup 订单管理
     * @apiVersion 0.1.0
     * @apiDescription 订单退货
     * @apiSuccess {int} errno 请求状态码，0表示成功,其它参考状态码文档
     * @apiSuccess {String} errmsg 结果消息说明
     * @apiSuccess {Object} data 请求响应的数据
     * @apiSuccessExample {json} Success-Response:
     * {
     *     "errno": 0,
     *     "errmsg": "成功"
     * }
     *//*

    @RequiresPermissions("agedMall:order:returnGoods")
    @PostMapping("/returnGoods")
    public Object returnGoods(@RequestBody @Validated ReturnGoodsVo returnGoodsVo) {
        return agedMallOrderApiService.returnGoods(returnGoodsVo);
    }

    */
/**
     * @api {post} /agedMall/order/returnGoods 订单退货后取货
     * @apiParam {string} orderSn 订单编号
     * @apiParam {int[]} goodsId 商品表id
     * @apiParam {int[]} orderGoodsId 订单商品表id
     * @apiParam {int} getGoodsStyle 取货方式 1门店2物流
     * @apiParam {int} deliveryManId 配送员id
     * @apiParam {int} maintainManId 维护员id
     * @apiParam {string} logisticsInfo 物流信息 (非必填)
     * @apiParam {string} shipDictName 配送类型
     * @apiParam {string} shipSn 物流单号 (非必填)
     * @apiParam {string} shipChannel 发货快递公司 (非必填)
     * @apiGroup 订单管理
     * @apiVersion 0.1.0
     * @apiDescription 订单退货后商家取货
     * @apiSuccess {int} errno 请求状态码，0表示成功,其它参考状态码文档
     * @apiSuccess {String} errmsg 结果消息说明
     * @apiSuccess {Object} data 请求响应的数据
     * @apiSuccessExample {json} Success-Response:
     * {
     *     "errno": 0,
     *     "errmsg": "成功"
     * }
     *//*

    @RequiresPermissions("agedMall:order:pickupGoods")
    @PostMapping("/pickupGoods")
    public Object pickupGoods(@RequestBody @Validated PickupGoodsVo pickupGoodsVo) {
        return agedMallOrderApiService.pickupGoods(pickupGoodsVo);
    }

    */
/**
     * @api {post} /agedMall/order/pickupGoodsReceiving/{orderCode}/{isExtract} 订单取货确认收货
     * @apiParam {string} orderCode 子订单号
     * @apiParam {int} isExtract 是否自提 0-否 1-是
     * @apiGroup 订单管理
     * @apiVersion 0.1.0
     * @apiDescription 订单取货确认收货
     * @apiSuccess {int} errno 请求状态码，0表示成功,其它参考状态码文档
     * @apiSuccess {String} errmsg 结果消息说明
     * @apiSuccess {Object} data 请求响应的数据
     * @apiSuccessExample {json} Success-Response:
     * {
     *     "errno": 0,
     *     "errmsg": "成功"
     * }
     *//*

    @RequiresPermissions("agedMall:order:pickupGoodsReceiving")
    @PostMapping("/pickupGoodsReceiving/{orderCode}/{isExtract}")
    public Object pickupGoodsReceiving(@PathVariable String orderCode,@PathVariable Integer isExtract) {
        return agedMallOrderApiService.pickupGoodsReceiving(orderCode,isExtract);
    }

    */
/**
     * @api {post} /agedMall/order/refund 同意/不同意退款、换货
     * @apiParam {int} status
     * @apiParam {string} reason 拒绝理由
     * @apiParam {int} subOrderId 子订单id
     * @apiParam {string} channel 退款途径 wx/ali
     * @apiParam {string} refundCode  交易号
     * @apiParam {string} orderCode 订单号
     * @apiParam {string} subOrderCode 子订单号
     * @apiParam {string} goodsId 商品id
     * @apiParam {string} logisticsInfo 物流信息
     * @apiParam {string} sendLogisticsInfo 换货物流信息
     * @apiParam {int} type 按文档上的来
     * @apiGroup 订单管理
     * @apiVersion 0.1.0
     * @apiDescription 同意/不同意退款、换货
     * @apiSuccess {int} errno 请求状态码，0表示成功,其它参考状态码文档
     * @apiSuccess {String} errmsg 结果消息说明
     * @apiSuccess {Object} data 请求响应的数据
     * @apiSuccessExample {json} Success-Response:
     * {
     *     "errno": 0,
     *     "errmsg": "成功"
     * }
     *//*

    @RequiresPermissions("agedMall:order:refund")
    @PostMapping("/refund")
    public Object refund(@RequestBody @Validated Refund refund) {
        return agedMallOrderApiService.refund(refund);
    }



    */
/**
     * @api {post} /agedMall/order/leaseReturnConfirm 租赁归还
     * @apiParam {int} orderId 大订单id
     * @apiParam {int} subOrderId 子订单id
     * @apiParam {string} subOrderCode 子订单号
     * @apiParam {int} type 类型 0-送货到店/上门取件确认归还/自行寄回（传大订单id，子订单id，子订单号） 1-上门取件开始安排上门(传大订单id，子订单id)
     * @apiGroup 订单管理
     * @apiVersion 0.1.0
     * @apiDescription 同意/不同意退款、换货
     * @apiSuccess {int} errno 请求状态码，0表示成功,其它参考状态码文档
     * @apiSuccess {String} errmsg 结果消息说明
     * @apiSuccess {Object} data 请求响应的数据
     * @apiSuccessExample {json} Success-Response:
     * {
     *     "errno": 0,
     *     "errmsg": "成功"
     * }
     *//*

    @RequiresPermissions("agedMall:order:leaseReturnConfirm")
    @PostMapping("/leaseReturnConfirm")
    public Object leaseReturnConfirm(@RequestBody @Validated LeaseReturnConfirmVo leaseReturnConfirmVo) {
        return agedMallOrderApiService.leaseReturnConfirm(leaseReturnConfirmVo);
    }


    */
/**
     * @api {post} /agedMall/order/modifyRefundMoney 修改退款金额
     * @apiParam {int} orderId 订单id
     * @apiParam {number} refundAmount 退款金额
     * @apiGroup 订单管理
     * @apiVersion 0.1.0
     * @apiDescription 修改退款金额
     * @apiSuccess {int} errno 请求状态码，0表示成功,其它参考状态码文档
     * @apiSuccess {String} errmsg 结果消息说明
     * @apiSuccess {Object} data 请求响应的数据
     * @apiSuccessExample {json} Success-Response:
     * {
     *     "errno": 0,
     *     "errmsg": "成功"
     * }
     *//*

    @RequiresPermissions("agedMall:order:modifyRefundAmount")
    @PostMapping("/modifyRefundMoney")
    public Object modifyRefundAmount(@RequestBody @Validated ModifyRefundMoneyVo modifyRefundMoneyVo) {
        return agedMallOrderApiService.modifyRefundAmount(modifyRefundMoneyVo);
    }

    */
/**
     * @api {post} /agedMall/order/receivedReturnGoods 订单确认收到退货
     * @apiParam {int[]} orderGoodsId 订单商品id
     * @apiGroup 订单管理
     * @apiVersion 0.1.0
     * @apiDescription 订单确认收到退货
     * @apiSuccess {int} errno 请求状态码，0表示成功,其它参考状态码文档
     * @apiSuccess {String} errmsg 结果消息说明
     * @apiSuccess {Object} data 请求响应的数据
     * @apiSuccessExample {json} Success-Response:
     * {
     *     "errno": 0,
     *     "errmsg": "成功"
     * }
     *//*

    @RequiresPermissions("agedMall:order:receivedReturnGoods")
    @PostMapping("/receivedReturnGoods")
    public Object receivedReturnGoods(@RequestBody List<Integer> orderGoodsId) {
        return agedMallOrderApiService.receivedReturnGoods(orderGoodsId);
    }


    */
/**
     * @api {get} /agedMall/order/getAfterSaleOrderDetail 售后订单详情
     * @apiParam {int} id 当前订单表id
     * @apiGroup 订单管理
     * @apiVersion 0.1.0
     * @apiDescription 获取售后订单详情
     * @apiSuccess {int} errno 请求状态码，0表示成功,其它参考状态码文档
     * @apiSuccess {String} errmsg 结果消息说明
     * @apiSuccess {Object} data 请求响应的数据
     * @apiSuccessExample {json} Success-Response:
     * {
     *     "errno": 0,
     *     "data": {
     *         "id": 1,
     *         "userId": 1,
     *         "orderSn": "1",
     *         "orderStatus": 103,
     *         "aftersaleStatus": 0,
     *         "consignee": "1",
     *         "mobile": "1",
     *         "address": "1",
     *         "message": "1",
     *         "goodsPrice": 1.00,
     *         "freightPrice": 1.00,
     *         "couponPrice": 1.00,
     *         "integralPrice": 1.00,
     *         "grouponPrice": 1.00,
     *         "orderPrice": 1.00,
     *         "actualPrice": 1.00,
     *         "payId": "1",
     *         "payTime": "2021-05-28 11:29:11",
     *         "shipSn": "1",
     *         "shipChannel": "1",
     *         "shipTime": "2021-05-28 11:29:17",
     *         "refundAmount": 50.00,
     *         "refundType": "1",
     *         "refundContent": "1",
     *         "refundTime": "2021-05-28 11:29:39",
     *         "confirmTime": "2021-05-28 11:29:41",
     *         "comments": 0,
     *         "endTime": "2021-05-31 10:20:09",
     *         "addTime": "2021-05-28 11:29:27",
     *         "payType": "1",
     *         "orderLogisticsMessages": [
     *             {
     *                 "storeId": 1,
     *                 "storeName": "互邦老宝贝",
     *                 "shipDictName": "门店自送",
     *                 "address": "江苏省苏州市阿斯蒂芬阿斯顿发斯蒂芬"
     *             }
     *         ],
     *         "goodsList": [
     *             {
     *                 "id": 1,
     *                 "orderId": 1,
     *                 "goodsId": 1006007,
     *                 "goodsName": "测试1",
     *                 "goodsSn": "",
     *                 "productId": 0,
     *                 "number": 0,
     *                 "price": 0.00,
     *                 "picUrl": "12",
     *                 "comment": 0,
     *                 "deleted": false,
     *                 "storeId": 1,
     *                 "orderGoodsStat": 208,
     *                 "shipDictName": "门店自送",
     *                 "shipStatus": 408,
     *                 "goodsType": "sale"
     *             }
     *         ],
     *         "packageMap": {
     *             "0": {
     *                 "goodsBackVos": [
     *                     {
     *                         "id": 1,
     *                         "orderId": 1,
     *                         "goodsId": 1006007,
     *                         "goodsName": "测试1",
     *                         "goodsSn": "",
     *                         "productId": 0,
     *                         "number": 0,
     *                         "price": 0.00,
     *                         "picUrl": "12",
     *                         "comment": 0,
     *                         "deleted": false,
     *                         "storeId": 1,
     *                         "orderGoodsStat": 208,
     *                         "shipDictName": "门店自送",
     *                         "shipStatus": 408,
     *                         "goodsType": "sale"
     *                     }
     *                 ],
     *                 "shipDictName": "门店自送",
     *                 "shipTime": "2021-05-31 16:06:17",
     *                 "shipStatus": 301
     *             },
     *             "1": {
     *                 "goodsBackVos": [
     *                     {
     *                         "id": 1,
     *                         "orderId": 1,
     *                         "goodsId": 1006007,
     *                         "goodsName": "测试1",
     *                         "goodsSn": "",
     *                         "productId": 0,
     *                         "number": 0,
     *                         "price": 0.00,
     *                         "picUrl": "12",
     *                         "comment": 0,
     *                         "deleted": false,
     *                         "storeId": 1,
     *                         "orderGoodsStat": 208,
     *                         "shipDictName": "门店自送",
     *                         "shipStatus": 408,
     *                         "goodsType": "sale"
     *                     }
     *                 ],
     *                 "shipDictName": "门店自送",
     *                 "shipTime": "2021-06-03 10:55:10",
     *                 "shipStatus": 408
     *             }
     *         },
     *         "aftersalesList": [
     *             {
     *                 "id": 1,
     *                 "aftersaleSn": "1",
     *                 "orderId": 1,
     *                 "userId": 1,
     *                 "type": 0,
     *                 "reason": "1",
     *                 "amount": 0.00,
     *                 "comment": "1",
     *                 "status": 0,
     *                 "addTime": "2021-06-04 14:32:28",
     *                 "deleted": false,
     *                 "orderGoodsId": 1
     *             }
     *         ]
     *     },
     *     "errmsg": "成功"
     * }
     *//*

    @RequiresPermissions("agedMall:order:getAfterSaleOrderDetail")
    @GetMapping("/getAfterSaleOrderDetail")
    public Object getAfterSaleOrderDetail(@Param("id") Integer id) {
        return agedMallOrderApiService.getAfterSaleOrderDetail(id);
    }


    */
/**
     * @api {post} /agedMall/order/updateOrderSetting 修改订单配置
     * @apiParam {map} systemMap 订单配置map
     * @apiGroup 订单管理
     * @apiVersion 0.1.0
     * @apiDescription 修改订单配置
     * @apiSuccess {int} errno 请求状态码，0表示成功,其它参考状态码文档
     * @apiSuccess {String} errmsg 结果消息说明
     * @apiSuccess {Object} data 请求响应的数据
     * @apiSuccessExample {json} Success-Response:
     * {
     *     "errno": 0,
     *     "errmsg": "成功"
     * }
     *//*

    @RequiresPermissions("agedMall:order:updateOrderSetting")
    @PostMapping("/updateOrderSetting")
    public Object updateOrderSetting(@RequestBody Map<String,String> systemMap) {
        return agedMallOrderApiService.updateOrderSetting(systemMap);
    }


    */
/**
     * @api {post} /agedMall/order/getOrderSetting 获取订单配置
     * @apiParam {string[]} systemList 需要查询的配置name集合
     * @apiGroup 订单管理
     * @apiVersion 0.1.0
     * @apiDescription 获取订单配置
     * @apiSuccess {int} errno 请求状态码，0表示成功,其它参考状态码文档
     * @apiSuccess {String} errmsg 结果消息说明
     * @apiSuccess {Object} data 请求响应的数据
     * @apiSuccessExample {json} Success-Response:
     * {
     *     "errno": 0,
     *     "data": [
     *         {
     *             "id": 42,
     *             "keyName": "order_system_config_1",
     *             "keyValue": "测试1",
     *             "addTime": "2021-06-08 14:29:12",
     *             "updateTime": "2021-06-08 14:29:12",
     *             "deleted": false
     *         },
     *         {
     *             "id": 43,
     *             "keyName": "order_system_config_2",
     *             "keyValue": "测试2",
     *             "addTime": "2021-06-08 14:29:12",
     *             "updateTime": "2021-06-08 14:29:12",
     *             "deleted": false
     *         }
     *     ],
     *     "errmsg": "成功"
     * }
     *//*

    @RequiresPermissions("agedMall:order:getOrderSetting")
    @PostMapping("/getOrderSetting")
    public Object getOrderSetting(@RequestBody List<String> systemList) {
        return agedMallOrderApiService.getOrderSetting(systemList);
    }


    */
/**
     * @api {post} /agedMall/order/getOrderStatusList 获取所有订单状态
     * @apiGroup 订单管理
     * @apiVersion 0.1.0
     * @apiDescription 获取所有订单状态
     * @apiSuccess {int} errno 请求状态码，0表示成功,其它参考状态码文档
     * @apiSuccess {String} errmsg 结果消息说明
     * @apiSuccess {Object} data 请求响应的数据
     * @apiSuccessExample {json} Success-Response:
     * {
     *     "errno": 0,
     *     "data": {
     *         "401": "已收货",
     *         "402": "已收货(系统)",
     *         "101": "未付款",
     *         "102": "已取消",
     *         "103": "已取消(系统)",
     *         "201": "已付款",
     *         "202": "订单取消，退款中",
     *         "203": "已退款",
     *         "301": "已发货"
     *     },
     *     "errmsg": "成功"
     * }
     *//*

    @GetMapping("/getOrderStatusList")
    public Object getOrderStatusList(){
        return agedMallOrderApiService.getOrderStatusList();
    }





    */
/**
     * @api {post} /agedMall/order/getStoresByCity 根据省市获取门店列表.
     *@apiParam {int} provinceId 省id
     *@apiParam {int} cityId 市id
     * @apiGroup 订单管理
     * @apiVersion 0.1.0
     * @apiDescription 根据省市获取门店列表
     * @apiSuccess {int} errno 请求状态码，0表示成功,其它参考状态码文档
     * @apiSuccess {String} errmsg 结果消息说明
     * @apiSuccess {Object} data 请求响应的数据
     * @apiSuccessExample {json} Success-Response:
     * {
     *     "errno": 0,
     *     "data": {
     *        "具体格式可请求后查看"
     *     },
     *     "errmsg": "成功"
     * }
     *//*

    @GetMapping("/getStoresByCity")
    public Object getStoresByCity(Integer provinceId,Integer cityId){
        return agedMallOrderApiService.getStoresByCity(provinceId,cityId);
    }

}
*/
